<template>
  <a-config-provider :locale="zh">
    <router-view v-slot="{ Component }">
      <component :is="Component" />
    </router-view>
  </a-config-provider>
</template>

<script>
import zh from 'ant-design-vue/lib/locale-provider/zh_CN'
import moment from 'moment'
import 'moment/locale/zh-cn'
moment.locale('zh-cn')
export default {
  name: 'App',
  setup() {
    return {
      zh
    }
  }
}
</script>

<style lang="less">

</style>
